package com.sc.nft.dao;

import com.sc.nft.entity.vo.ParticipationDataVO;
import lombok.extern.slf4j.Slf4j;
import com.sc.nft.entity.HistoryPrizeDrawActivityDetailsLog;
import com.sc.nft.mapper.HistoryPrizeDrawActivityDetailsLogMapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Repository;

/**
 * 抽奖活动历史统计记录表(sc_history_prize_draw_activity_details_log)数据DAO
 *
 * @author Sun
 * @since 2023-09-14 11:32:16
 * @description 由 Mybatisplus Code Generator 创建
 */
@Slf4j
@Repository
public class HistoryPrizeDrawActivityDetailsLogDao extends ServiceImpl<HistoryPrizeDrawActivityDetailsLogMapper, HistoryPrizeDrawActivityDetailsLog> {

    public ParticipationDataVO getOneByActivityId(Long activityId) {
        return baseMapper.getOneByActivityId(activityId);
    }
}